package com.design.pattern.builder;/** * create by yufeng on 2021/7/5 22:22 */public class Test {    public static void main(String[] args) {        CourseBuilder builder = new CourseBuilder();        Course course = builder.name("设计模式")                .ppt("【PPT课件】")                .video("【回放视频】")                .note("【课堂笔记】")                .homework("【课后作业】")                .build();        System.out.println(course);    }}